RewriteEngine On

#1后台（如果改了后台文件夹名称，这个位置也要改为新名称）
RewriteRule ^(admin)/$			$1/index.php
#2首页
RewriteRule ^index\.html$		index.php
#3-7板块
RewriteRule ^(category|article|image|video|content|shujia|ting|player|tags|app|txt2mysql)/$			$1/index.php
RewriteRule ^(wap|member|v|login|locoy|make)/$					$1/index.php
RewriteRule ^(new|so|top|author|tag|history)/$					$1/index.php
RewriteRule ^(chapter|txt|wap_speed|wap_touch)/$				$1/index.php
RewriteRule ^(cj|MyAdmin|paihang|shuku|quanben|tuijian)/$		$1/index.php
#89榜单
RewriteRule ^(click|good|bad|fav)\.html$					top/index.php?$1.html
RewriteRule ^(click|good|bad|fav)-([0-9]+)\.html$			top/index.php?$1-$2.html
#10-13其它
RewriteRule ^(member|new|so|top|author|tag|history|tags)/(.*)\.html$				$1/index.php?$2.html
RewriteRule ^(member|new|so|top|author|tag|history)/(.*)-([0-9]+)\.html$			$1/index.php?$2-$3.html
RewriteRule ^(shuku|quanben|tuijian|paihang)/(.*)\.html$							$1/index.php?$2.html
RewriteRule ^(shuku|quanben|tuijian|paihang)/(.*)-([0-9]+)\.html$					$1/index.php?$2-$3.html
#1415内容页
RewriteRule ^(\w+)/([0-9]+)\.html$					content/index.php?$2.html
RewriteRule ^(\w+)/([0-9]+)_([0-9]+)\.html$			content/index.php?$2_$3.html
#1617目录页书页
RewriteRule ^(\w+)/list\.html$						chapter/index.php?$1.html?chapter
RewriteRule ^(\w+)/$								content/index.php?$1.html?page
#1819栏目页
RewriteRule ^(\w+)\.html$							content/index.php?$1.html
RewriteRule ^(\w+)/([0-9]+)-([0-9]+)\.html$			category/index.php?$2-$3.html
#20禁止直接访问模版
RewriteRule ^templets/(.*)\.htm$ 					404.html